package de.slothsoft.commons.swing;

public interface ITableButtonListener {

	public void actionPerformed(TableButtonEvent event);

	public static class TableButtonEvent {
		private int row;
		private int column;
		private int x;
		private int y;

		public TableButtonEvent(int row, int column, int x, int y) {
			this.row = row;
			this.column = column;
			this.x = x;
			this.y = y;
		}

		public int getRow() {
			return this.row;
		}

		public void setRow(int row) {
			this.row = row;
		}

		public int getColumn() {
			return this.column;
		}

		public void setColumn(int column) {
			this.column = column;
		}

		public int getX() {
			return this.x;
		}

		public void setX(int x) {
			this.x = x;
		}

		public int getY() {
			return this.y;
		}

		public void setY(int y) {
			this.y = y;
		}

	}
}
